
function PostItem(props) {
    const { title, author, date } = props;

    return (
        <li>
            <div>title: <span>{title}</span></div>
            <div>author：<span>{author}</span></div>
            <div>time：{date}</div>
        </li>
    )
}

export default PostItem;

/**
 * 无状态组件
 */